package ooday05;



public abstract class Animal {
    String name;
    int age;
    String colour;
    Animal(String name,int age,String colour){
        this.name=name;
        this.age=age;
        this.colour=colour;
    }
    void drink(){
        System.out.println(colour+"色的"+age+"岁的，名字叫"+name+"的正在喝水");
    }
    abstract void eat();


}
